Skip to content

looking at pydbus 0.5.1#16

Open
hh wants to merge 3 commits intotaoso:masterfrom
ii:pydbus5
Open

looking at pydbus 0.5.1#16
hh wants to merge 3 commits intotaoso:masterfrom
ii:pydbus5

Conversation

@hh
Copy link
Contributor

@hh hh commented Aug 12, 2016

It's a start, at least we get on the right bus, and are calling the register.

# python dbus.py                                                               
(process:1467): GLib-GIO-CRITICAL **: g_bus_own_name_on_connection: assertion 'g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed
Traceback (most recent call last):
  File "dbus.py", line 77, in <module>
    foo = Foo(bus=bus, path='/net/lvht/Foo')
  File "dbus.py", line 20, in __init__
    bus.publish(path,self)
  File "/root/btk/src/pydbus/pydbus/publication.py", line 33, in publish
    return Publication(self, bus_name, *objects)
  File "/root/btk/src/pydbus/pydbus/publication.py", line 26, in __init__
    self._at_exit(bus.register_object(path, object, node_info).__exit__)
  File "/root/btk/src/pydbus/pydbus/registration.py", line 125, in register_object
    return ObjectRegistration(self.con, path, interfaces, wrapper, own_wrapper=True)
  File "/root/btk/src/pydbus/pydbus/registration.py", line 105, in __init__
    ids = [con.register_object(path, interface, wrapper.call_method, wrapper.get_property, wrapper.set_property) for interface in interfaces]
TypeError: argument vtable: Expected Gio.DBusInterfaceVTable, but got pydbus.registration.instancemethod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants